package com.sesxh.project.knowledge.biz.service;

import java.util.Map;
import java.util.Optional;
import com.sesxh.frame.core.data.DataSet;
import com.sesxh.project.knowledge.biz.model.Category;
public interface ICategoryService{

	 Optional<Category> loadCategoryById(Long id);
	
	 void createCategory(Category category);
	
	 void updateCategory(Category category);

	 void deleteCategory(Long id);
	
	 DataSet loadCategoryDataSet(Map<String, Object> params);
	 

 	void setCategoryStatus(Long id, Byte status);
}